<div class="container"> 
<!-- middle -->
<div id="middle" class="cols2">
	
    <div class="title">
    	<h1>CORPORATE FINANCE</h1>       
    </div>  
    
    <div class="content" role="main">	
			<!-- author description -->
				<?php foreach($files as $file):?>
                <div class="author-box">
                    <div class="author-description">
                		<div class="author-image"><img src="<?=base_url('assets/images/icons/pdf.png')?>" alt=""><span class="author">PDF File</span></div>
                      	<div class="author-text">
                            <p><span style="font-size:14px;font-weight:bold"><?=$file['policies_title']?></span> <br/><?=$file['policies_content']?></p>
							<p><a href="<?=base_url('assets/policies/').'/'.$file['policies_name']?>">Download File</a>  |
							<?=anchor('policies/removeFile/'.$file['policies_id'],'Remove File');?></p>
                        </div>
                        <div class="clear"></div>
                	</div>        
                </div>
				<?php endforeach;?>
        <!--/ author description -->
	</div>
    <!--/ content -->
    
    <!-- sidebar -->
    <div class="sidebar">

			<!-- recent entries -->
    	<div class="widget-container widget_recent_entries">
        	<img src="<?=base_url()?>/assets/images/icons/icons_16_date.png" alt="" class="widget_icon">  
			<h3 class="widget-title">WELCOME</h3>
                <ul>
                    <li> 
                        <div class="recent_entry">
							<a href="#" class="link-name">
								BDO is a world wide network of public accounting firms, called BDO Member Firms. With more than 1,000 offices in
								over 100 countries, BDO is the fifth largest such network in the world. 
								Our objective is to deliver our national and international clients a consistently quality services.
								We know that close and effective relationships matter to you and we are committed to a long term relationship 
								as your trusted professional adviser.
							</a>
						</div>
                    </li>
                 
				</ul>
        </div>
    	<!--/ recent entries -->
		
		<!-- recent entries -->
    	<div class="widget-container widget_recent_entries">
        	<img src="<?=base_url()?>/assets/images/icons/icons_16_date.png" alt="" class="widget_icon">  
			<h3 class="widget-title">Latest News</h3>
                <ul>
                    <?php foreach($latest as $row): ?>
					<li>
                        <a href="<?=postUrl($row['post_date'],$row['post_id'],$row['post_title'])?>">
						   <img src="<?=base_url().thumb(postImage($row['post_image']),seoUrl($row['post_title']),100,200)?>" alt="" class="thumbnail">
						</a> 
                        <div class="recent_entry"><a href="<?=postUrl($row['post_date'],$row['post_id'],$row['post_title'])?>" class="link-name"><?=$row['post_title']?></a></div>
                    </li>
					<?php endforeach;?>
				</ul>
        </div>
		
		<!-- recent entries -->
    	<div class="widget-container widget_recent_entries">
        	<img src="<?=base_url()?>/assets/images/icons/icons_16_date.png" alt="" class="widget_icon">  
			<h3 class="widget-title">Latest Info</h3>
                <ul>
                    <?php foreach($latest2 as $row): ?>
					<li>
                        <a href="<?=postUrl($row['post_date'],$row['post_id'],$row['post_title'])?>">
						   <img src="<?=base_url().thumb(postImage($row['post_image']),seoUrl($row['post_title']),100,200)?>" alt="" class="thumbnail">
						</a> 
                        <div class="recent_entry"><a href="<?=postUrl($row['post_date'],$row['post_id'],$row['post_title'])?>" class="link-name"><?=$row['post_title']?></a></div>
                    </li>
					<?php endforeach;?>
				</ul>
        </div>
       
    </div>
    <!--/ sidebar -->   
    
        	
</div>
<!--/ middle --> 
</div>
<!--/ container --> 